@charset "utf-8";

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

h1, iframe, ul, li {
    margin: 0;
    padding: 0;
}

// 线性渐变函数
@mixin grandient($from, $to) {
    background: -webkit-gradient(linear, left top, left bottom, from($from), to($to));
    background: -moz-linear-gradient(center top, $from, $to) repeat;
    background: -o-linear-gradient(top, $from,$to);
    background: -ms-linear-gradient(top, $from,$to);
    background: linear-gradient(to bottom, $from,$to);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
}

@mixin rounded($arg...) {
    -moz-border-radius    : $arg;
    -webkit-border-radius : $arg;
    border-radius         : $arg;
}

$folding: url(../images/folding.png) no-repeat 2px 5px;
$expand: url(../images/expand.png) no-repeat 2px 5px;

#left, #right {
    width: 420px;
    height: 100%;
    float: left;
    overflow: auto;
}
#left {
    border-right: 1px solid #CCC;
}
#right {
    overflow: hidden;
}
#right iframe {
    width: 100%;
    height: 100%;
}

#left ul {
    list-style-type: none;
}

#left>ul li {
    width: 50%;
    float: left;
    height: 2em;
    line-height: 2em;
    border-right: 1px #498FD7 solid;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #FFF;
    @include grandient(#498FD7, #1F72C6);
    @include rounded(3px 3px 0 0);
    cursor: pointer;
    margin-left: -1px;
}
.modify {
    margin-right: -2px;
}
#left .selected {
    background: #FFF;
    color: #000;
    cursor: default;
    border-bottom-color: #FFF;
}

#themesListContainer {
    position: relative;
    clear: both;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
}

.hide {
    display: none;
}

input[type=text] {
    padding: 2px 4px;
    height: 16px;
    width: 50px;
    margin-left: 5px;
}

.container {
    clear: both;
    border-radius: 3px;
    border: 1px #D6DFF7 solid;
    padding-bottom: 5px;
}

.content {
    padding: 0 5px;
    display: none;
}

.container .title {
    @include grandient(#D6DFF7, darken(#D6DFF7, 10%));
}

.title h1 {
    font-size: 14px;
    padding: 4px 20px;
    background: #{$folding};
    cursor: pointer;
}
.title .expand {
    background: #{$expand};
}

fieldset {
    @include rounded(3px);
    border: 1px solid darken(#FFF, 30%);
    padding: 1px;
    margin: 1px;
}
legend {
    font-size: 12px;
    font-weight: 700;
    color: #222;
}
.content li {
    height: 30px;
    line-height: 30px;
    position: relative;
}
.content li:hover,
.current-line td {
    background: darken(#FFF, 5%);
}

.content table {
    padding: 0;
    margin: 0;
    width: 100%;
}

.content th {
    text-align: center;
}

.footer {
    margin-left: 10px;
}